CMD = iverilog
SIM = vvp
FILELIST = lzd.flist
TARGET = wave
WAVENAME=wave

all: sim

main:
	$(CMD) $(FLAGS) -c$(FILELIST) -o $(TARGET)

sim: main
	$(SIM) -n $(TARGET)

.PHONY(clean):
clean:
	rm -rf $(TARGET) $(WAVENAME).vcd